#include "../../../shared/infra/dms.hpp"
#include "gflags/gflags.h"


DEFINE_string(key_id, "LTAI5t6NF7vt499UeqYX6LB9", "平台API访问密钥ID");
DEFINE_string(key_secret, "5hx1qvpXHDKfQDk73aJs6j53Q8KcF2", "平台API访问密钥");

DEFINE_bool(run_mode, false, "程序的运行模式: false-调试 true-发布");
DEFINE_string(log_file, "", "指定日志的输出文件");
DEFINE_int32(log_level, 0, "指定日志输出等级");

int main(int argc, char *argv[])
{
    google::ParseCommandLineFlags(&argc, &argv, true);
    shared::init_logger(FLAGS_run_mode, FLAGS_log_file, FLAGS_log_level);

    shared::infra::DMSClient client(FLAGS_key_id, FLAGS_key_secret);
    client.send("12345678999", "1479");

    return 0;
}